﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace ReporterEngine
{
    public abstract class FilesProvider
    {
        public string ProjectsFolder = "";
        
        //public abstract Stream GetProject(string projectId); 
        //public abstract Stream GetProjectByName(string projectName);
        public abstract Stream GetImage(string projectName, string imageName);
        public abstract Stream GetTemplate(string projectName, string templateName);
        public abstract Stream GetCif(string projectName);

        public abstract bool ImageExists(string projectName, string imageName);

        public abstract Stream GetResult(string projectName, string resultName, ReportSettingsArgs settings);

        public abstract void CopyTemplateAsResult(string projectName, string templateName, string resultName);

        public abstract byte[] getResultData(string projectName, string templateName);
    }
}
